var search_data = {"index":{"searchIndex":["logger","formatter","logdevice","period","severity","<<()","add()","add_log_header()","call()","check_shift_log()","close()","close()","coerce()","create_logfile()","datetime_format()","datetime_format=()","debug()","debug!()","debug?()","error()","error!()","error?()","fatal()","fatal!()","fatal?()","format_datetime()","format_message()","format_severity()","info()","info!()","info?()","level()","level=()","lock_shift_log()","log()","msg2str()","new()","new()","new()","next_rotate_time()","open_logfile()","previous_period_end()","reopen()","reopen()","set_dev()","sev_threshold()","sev_threshold=()","shift_log_age()","shift_log_period()","unknown()","warn()","warn!()","warn?()","with_level()","write()"],"longSearchIndex":["logger","logger::formatter","logger::logdevice","logger::period","logger::severity","logger#<<()","logger#add()","logger::logdevice#add_log_header()","logger::formatter#call()","logger::logdevice#check_shift_log()","logger#close()","logger::logdevice#close()","logger::severity::coerce()","logger::logdevice#create_logfile()","logger#datetime_format()","logger#datetime_format=()","logger#debug()","logger#debug!()","logger#debug?()","logger#error()","logger#error!()","logger#error?()","logger#fatal()","logger#fatal!()","logger#fatal?()","logger::formatter#format_datetime()","logger#format_message()","logger#format_severity()","logger#info()","logger#info!()","logger#info?()","logger#level()","logger#level=()","logger::logdevice#lock_shift_log()","logger#log()","logger::formatter#msg2str()","logger::new()","logger::formatter::new()","logger::logdevice::new()","logger::period#next_rotate_time()","logger::logdevice#open_logfile()","logger::period#previous_period_end()","logger#reopen()","logger::logdevice#reopen()","logger::logdevice#set_dev()","logger#sev_threshold()","logger#sev_threshold=()","logger::logdevice#shift_log_age()","logger::logdevice#shift_log_period()","logger#unknown()","logger#warn()","logger#warn!()","logger#warn?()","logger#with_level()","logger::logdevice#write()"],"info":[["Logger","","Logger.html","","<p>Class Logger provides a simple but sophisticated logging utility that you can use to create one or more …\n"],["Logger::Formatter","","Logger/Formatter.html","","<p>Default formatter for log messages.\n"],["Logger::LogDevice","","Logger/LogDevice.html","","<p>Device used for logging messages.\n"],["Logger::Period","","Logger/Period.html","",""],["Logger::Severity","","Logger/Severity.html","","<p>Logging severity.\n"],["<<","Logger","Logger.html#method-i-3C-3C","(msg)","<p>Writes the given <code>msg</code> to the log with no formatting; returns the number of characters written, or <code>nil</code> …\n"],["add","Logger","Logger.html#method-i-add","(severity, message = nil, progname = nil)","<p>Creates a log entry, which may or may not be written to the log, depending on the entry’s severity …\n"],["add_log_header","Logger::LogDevice","Logger/LogDevice.html#method-i-add_log_header","(file)",""],["call","Logger::Formatter","Logger/Formatter.html#method-i-call","(severity, time, progname, msg)",""],["check_shift_log","Logger::LogDevice","Logger/LogDevice.html#method-i-check_shift_log","()",""],["close","Logger","Logger.html#method-i-close","()","<p>Closes the logger; returns <code>nil</code>:\n\n<pre class=\"ruby\"><span class=\"ruby-identifier\">logger</span> = <span class=\"ruby-constant\">Logger</span>.<span class=\"ruby-identifier\">new</span>(<span class=\"ruby-string\">&#39;t.log&#39;</span>)\n<span class=\"ruby-identifier\">logger</span>.<span class=\"ruby-identifier\">close</span>       <span class=\"ruby-comment\"># =&gt; nil</span>\n<span class=\"ruby-identifier\">logger</span>.<span class=\"ruby-identifier\">info</span>(<span class=\"ruby-string\">&#39;foo&#39;</span>) <span class=\"ruby-operator\">...</span>\n</pre>\n"],["close","Logger::LogDevice","Logger/LogDevice.html#method-i-close","()",""],["coerce","Logger::Severity","Logger/Severity.html#method-c-coerce","(severity)",""],["create_logfile","Logger::LogDevice","Logger/LogDevice.html#method-i-create_logfile","(filename)",""],["datetime_format","Logger","Logger.html#method-i-datetime_format","()","<p>Returns the date-time format; see #datetime_format=.\n"],["datetime_format=","Logger","Logger.html#method-i-datetime_format-3D","(datetime_format)","<p>Sets the date-time format.\n<p>Argument <code>datetime_format</code> should be either of these:\n<p>A string suitable for use …\n"],["debug","Logger","Logger.html#method-i-debug","(progname = nil, &block)","<p>Equivalent to calling #add with severity <code>Logger::DEBUG</code>.\n"],["debug!","Logger","Logger.html#method-i-debug-21","()","<p>Sets the log level to Logger::DEBUG. See Log Level.\n"],["debug?","Logger","Logger.html#method-i-debug-3F","()","<p>Returns <code>true</code> if the log level allows entries with severity Logger::DEBUG to be written, <code>false</code> otherwise. …\n"],["error","Logger","Logger.html#method-i-error","(progname = nil, &block)","<p>Equivalent to calling #add with severity <code>Logger::ERROR</code>.\n"],["error!","Logger","Logger.html#method-i-error-21","()","<p>Sets the log level to Logger::ERROR. See Log Level.\n"],["error?","Logger","Logger.html#method-i-error-3F","()","<p>Returns <code>true</code> if the log level allows entries with severity Logger::ERROR to be written, <code>false</code> otherwise. …\n"],["fatal","Logger","Logger.html#method-i-fatal","(progname = nil, &block)","<p>Equivalent to calling #add with severity <code>Logger::FATAL</code>.\n"],["fatal!","Logger","Logger.html#method-i-fatal-21","()","<p>Sets the log level to Logger::FATAL. See Log Level.\n"],["fatal?","Logger","Logger.html#method-i-fatal-3F","()","<p>Returns <code>true</code> if the log level allows entries with severity Logger::FATAL to be written, <code>false</code> otherwise. …\n"],["format_datetime","Logger::Formatter","Logger/Formatter.html#method-i-format_datetime","(time)",""],["format_message","Logger","Logger.html#method-i-format_message","(severity, datetime, progname, msg)",""],["format_severity","Logger","Logger.html#method-i-format_severity","(severity)",""],["info","Logger","Logger.html#method-i-info","(progname = nil, &block)","<p>Equivalent to calling #add with severity <code>Logger::INFO</code>.\n"],["info!","Logger","Logger.html#method-i-info-21","()","<p>Sets the log level to Logger::INFO. See Log Level.\n"],["info?","Logger","Logger.html#method-i-info-3F","()","<p>Returns <code>true</code> if the log level allows entries with severity Logger::INFO to be written, <code>false</code> otherwise. …\n"],["level","Logger","Logger.html#method-i-level","()","<p>Logging severity threshold (e.g. <code>Logger::INFO</code>).\n"],["level=","Logger","Logger.html#method-i-level-3D","(severity)","<p>Sets the log level; returns <code>severity</code>. See Log Level.\n<p>Argument <code>severity</code> may be an integer, a string, or …\n"],["lock_shift_log","Logger::LogDevice","Logger/LogDevice.html#method-i-lock_shift_log","()",""],["log","Logger","Logger.html#method-i-log","(severity, message = nil, progname = nil)",""],["msg2str","Logger::Formatter","Logger/Formatter.html#method-i-msg2str","(msg)",""],["new","Logger","Logger.html#method-c-new","(logdev, shift_age = 0, shift_size = 1048576, level: DEBUG, progname: nil, formatter: nil, datetime_format: nil, binmode: false, shift_period_suffix: '%Y%m%d')","<p>With the single argument <code>logdev</code>, returns a new logger with all default options:\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">Logger</span>.<span class=\"ruby-identifier\">new</span>(<span class=\"ruby-string\">&#39;t.log&#39;</span>) <span class=\"ruby-comment\"># ...</span>\n</pre>\n"],["new","Logger::Formatter","Logger/Formatter.html#method-c-new","()",""],["new","Logger::LogDevice","Logger/LogDevice.html#method-c-new","(log = nil, shift_age: nil, shift_size: nil, shift_period_suffix: nil, binmode: false)",""],["next_rotate_time","Logger::Period","Logger/Period.html#method-i-next_rotate_time","(now, shift_age)",""],["open_logfile","Logger::LogDevice","Logger/LogDevice.html#method-i-open_logfile","(filename)",""],["previous_period_end","Logger::Period","Logger/Period.html#method-i-previous_period_end","(now, shift_age)",""],["reopen","Logger","Logger.html#method-i-reopen","(logdev = nil)","<p>Sets the logger’s output stream:\n<p>If <code>logdev</code> is <code>nil</code>, reopens the current output stream.\n<p>If <code>logdev</code> is …\n"],["reopen","Logger::LogDevice","Logger/LogDevice.html#method-i-reopen","(log = nil)",""],["set_dev","Logger::LogDevice","Logger/LogDevice.html#method-i-set_dev","(log)",""],["sev_threshold","Logger","Logger.html#method-i-sev_threshold","()",""],["sev_threshold=","Logger","Logger.html#method-i-sev_threshold-3D","(severity)",""],["shift_log_age","Logger::LogDevice","Logger/LogDevice.html#method-i-shift_log_age","()",""],["shift_log_period","Logger::LogDevice","Logger/LogDevice.html#method-i-shift_log_period","(period_end)",""],["unknown","Logger","Logger.html#method-i-unknown","(progname = nil, &block)","<p>Equivalent to calling #add with severity <code>Logger::UNKNOWN</code>.\n"],["warn","Logger","Logger.html#method-i-warn","(progname = nil, &block)","<p>Equivalent to calling #add with severity <code>Logger::WARN</code>.\n"],["warn!","Logger","Logger.html#method-i-warn-21","()","<p>Sets the log level to Logger::WARN. See Log Level.\n"],["warn?","Logger","Logger.html#method-i-warn-3F","()","<p>Returns <code>true</code> if the log level allows entries with severity Logger::WARN to be written, <code>false</code> otherwise. …\n"],["with_level","Logger","Logger.html#method-i-with_level","(severity)","<p>Adjust the log level during the block execution for the current Fiber only\n\n<pre>logger.with_level(:debug) do ...</pre>\n"],["write","Logger::LogDevice","Logger/LogDevice.html#method-i-write","(message)",""]]}}